Adwaita: no rounded corner for tiled backdrop windows
authorLapo Calamandrei <calamandrei@gmail.com>
Mon, 15 Feb 2016 12:30:37 +0000 (13:30 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Mon, 15 Feb 2016 12:31:42 +0000 (13:31 +0100)
fixes https://bugzilla.gnome.org/show_bug.cgi?id=762067

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 0bab3ca6c01b30093a3b904cbe8676d772b96b6b..0a333f6acbbfdeaa1c673633b5f5a7de260054bf 100644 (file)
@@ -1361,7 +1361,7 @@ headerbar {
   }
 
   .tiled &,
-   .maximized & { border-radius: 0; } // squared corners when the window is max'd or tile
+  .maximized & { &:backdrop, & { border-radius: 0; }} // squared corners when the window is maximized or tiled
 
   &.default-decoration {
     padding: 0 4px;
index b40fcf8084113c09a1e07b9ed1220c81322184d3..29d65c2252eec0199721e3fb1eec91d873efe61f 100644 (file)
@@ -1827,8 +1827,10 @@ headerbar {
         -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
         color: rgba(255, 255, 255, 0.5);
         -gtk-icon-shadow: none; }
-  .tiled .titlebar:not(headerbar), .maximized .titlebar:not(headerbar), .tiled
+  .tiled .titlebar:backdrop:not(headerbar), .tiled .titlebar:not(headerbar), .maximized .titlebar:backdrop:not(headerbar), .maximized .titlebar:not(headerbar), .tiled
+  headerbar:backdrop, .tiled
   headerbar, .maximized
+  headerbar:backdrop, .maximized
   headerbar {
     border-radius: 0; }
   .default-decoration.titlebar:not(headerbar),
index 4e9a725445fbcec2d5dfac164971ad1e8293b5c8..204de347f0191a22a8f5dd8b5bab84c6e8cf666d 100644 (file)
@@ -1831,8 +1831,10 @@ headerbar {
         -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
         color: rgba(255, 255, 255, 0.5);
         -gtk-icon-shadow: none; }
-  .tiled .titlebar:not(headerbar), .maximized .titlebar:not(headerbar), .tiled
+  .tiled .titlebar:backdrop:not(headerbar), .tiled .titlebar:not(headerbar), .maximized .titlebar:backdrop:not(headerbar), .maximized .titlebar:not(headerbar), .tiled
+  headerbar:backdrop, .tiled
   headerbar, .maximized
+  headerbar:backdrop, .maximized
   headerbar {
     border-radius: 0; }
   .default-decoration.titlebar:not(headerbar),